﻿using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace EasyWindowsServiceManager
{
    static class Program
    {
        /// <summary>
        /// Punto de entrada principal para la aplicación.
        /// </summary>
        [STAThread]
        static void Main()
        {
            //Set the current UI Culture
            string currentUICulture = "es-Co";
            try
            {
                currentUICulture = Properties.Settings.Default.uiCulture;
            }
            catch (Exception)
            {                
                //No Code;
            }
            CultureInfo ci = new CultureInfo(currentUICulture);
            Thread.CurrentThread.CurrentUICulture = ci;
            Application.CurrentCulture = ci;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Forms.MainForm());
        }
    }
}
